import { App, Plugin } from "vue"
import confirmModel from "./delete/index"
import messageModel from "./message/index"
interface globalInterface {
  confirmModel: any
  messageModel: any
}
// 命名空间
const antDesignGlobal: globalInterface = {
  confirmModel,
  messageModel,
}

export default {
  install(app: App) {
    app.config.globalProperties["confirmModel"] = antDesignGlobal.confirmModel
    app.config.globalProperties["messageModel"] = antDesignGlobal.messageModel
  },
}
